import path from 'path'
import FileHelper from 'src/helper/file'

export default async function (dest: string, name: string): Promise<void>{
  const rootPath = path.join(dest, name)
  await FileHelper.createDir(rootPath)
  await FileHelper.outputPreset('project', rootPath)
}